package top.glike.funct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.glike.common.annotation.Excel;
import top.glike.common.core.domain.BaseEntity;

/**
 * 音乐管理对象 gb_musics
 * 
 * @author Sophia
 * @date 2024-02-13
 */
public class GbMusics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 音乐名称 */
    @Excel(name = "音乐名称")
    private String name;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 歌词 */
    @Excel(name = "歌词")
    private String lrc;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setLrc(String lrc) 
    {
        this.lrc = lrc;
    }

    public String getLrc() 
    {
        return lrc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("author", getAuthor())
            .append("url", getUrl())
            .append("cover", getCover())
            .append("lrc", getLrc())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
